/*
 * @Project_description: 工具
 */
'use strict'
import qs from "qs"
import axios from "axios"
import dayjs from "dayjs"
import lodash from "lodash"
import cookie from 'js-cookie'
import store from'@/store'
import http from './http'
import customHttp from './customHttp'
import tree from 'tree-lodash'
import transform from './transform'
export default  (Vue)=>{
    Vue.prototype.$qs = qs
    Vue.prototype.$axios = axios
    Vue.prototype.$dayjs = dayjs
    Vue.prototype.$lodash = lodash
    Vue.prototype.$cookie = cookie
    Vue.prototype.$http = http
    Vue.prototype.$mqtt=window.mqtt
    Vue.prototype.$customHttp=customHttp
    Vue.prototype.$tree = tree
    Vue.prototype.$t = transform
    Window.$qs = qs
    Window.$store = store
    Window.$axios = axios
    Window.$dayjs = dayjs
    Window.$lodash = lodash
    Window.$cookie = cookie
    Window.$http = http
    Window.$tree=tree
    Window.$t = transform
}
